package com.xzg.user.service;

import com.xzg.common.page.PageQueryBean;
import com.xzg.common.resp.APIResult;
import com.xzg.common.vo.QueryCondition;
import com.xzg.middleTable.entity.Label;
import com.xzg.user.entity.User;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import java.util.List;
import java.util.concurrent.locks.Condition;

public interface UserService {

    void creatUser(User user) throws UnsupportedEncodingException, NoSuchAlgorithmException;

    User findUserByusername(String username);

    PageQueryBean findAllUser(QueryCondition condition);

    User checkCid(User user);


    User selectALLByUsername(String username);

    int updateUser(User user);

    APIResult checklabel(User user);

    APIResult insertLabel(Label label);

    APIResult updateLabelUser(QueryCondition condition);

    APIResult deleteLabel(QueryCondition condition);

    APIResult allLabel();
}
